package api.apiservice.apiopenplat.mapper;

import api.apiservice.apiopenplat.entity.ApiInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import api.apiservice.apiopenplat.pojo.condition.ApiInfoIndex;
import api.apiservice.apiopenplat.pojo.access.accessPromission;
import api.apiservice.apiopenplat.pojo.apiRequest.apiRequest;
import io.swagger.annotations.Api;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tangshen
 * @since 2022-11-11
 */

public interface ApiInfoMapper extends BaseMapper<ApiInfo> {

    List<ApiInfoIndex> getApiInfo();

    List<ApiInfo>  getApiInfo2();

    accessPromission getPermissionById(Long userId);

    apiRequest getInvokeApi(Long apid);

}
